package com.fg.cloud.manager.entry.factory;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fg.cloud.manager.entry.BaseEntity;
/**
 * @author liushengchao
 * @Description: 新闻公告实体类 
 * @date 2017年6月14日下午1:42:16
 *
 */
public class FactoryNewsEntity extends BaseEntity{

	private static final long serialVersionUID = -6943884479012032271L;

	private Long facId;  //厂商ID

    private String newsTitle; //新闻标题
    
    private String newsContent; //新闻内容
    
    private Byte type; //新闻类型
    
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime; //创建时间

    private Byte reciverType; //接收类型 0：全部 1：指定经销商 2：指定区域 3：指定等级

    private String reciverAge; //接收经销商ID集合
    
    private String reciverArea; //接收区域ID集合
    
    private String reciverLevel; //接收经销商等级ID集合
    
    public Byte getType() {
		return type;
	}
	public void setType(Byte type) {
		this.type = type;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public void setReciverAge(String reciverAge) {
		this.reciverAge = reciverAge;
	}
	public String getReciverAge() {
		return reciverAge;
	}
	public String getReciverArea() {
        return reciverArea;
    }
    public void setReciverArea(String reciverArea) {
        this.reciverArea = reciverArea;
    }
    public String getReciverLevel() {
        return reciverLevel;
    }
    public void setReciverLevel(String reciverLevel) {
        this.reciverLevel = reciverLevel;
    } 
    public Long getFacId() {
        return facId;
    }

    public void setFacId(Long facId) {
        this.facId = facId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }
    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle == null ? null : newsTitle.trim();
    }

    public Byte getReciverType() {
        return reciverType;
    }

    public void setReciverType(Byte reciverType) {
        this.reciverType = reciverType;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent == null ? null : newsContent.trim();
    }
}